﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Users/Manage.Master" AutoEventWireup="true" CodeBehind="EditCategory.aspx.cs" Inherits="OnlineAuction.Admin.EditCategory" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_Css" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_TopBar" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_Content" runat="server">
    <table cellpadding="5" cellspacing="5" class="style1">
        <caption style="font-size: larger; font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #FF6600">Update category</caption>
        <tr>
            <td colspan="3">Category info: </td>
        </tr>
        <tr>
            <td>Category name: </td>
            <td colspan="2">
                <asp:TextBox ID="txtCategoryName" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Fill it!" ControlToValidate="txtCategoryName"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Category Logo: </td>
            <td>
                <asp:FileUpload ID="CategoryLogo" runat="server" />
            </td>
        </tr>
        <tr>
            <td>Category State: </td>
            <td>
                <asp:RadioButtonList ID="rbtState" AutoPostBack ="true" RepeatDirection = "Horizontal" runat="server">
                    <asp:ListItem Value="false" Selected="True">Disable</asp:ListItem>
                    <asp:ListItem Value="true">Enable</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td colspan="2">
                <asp:Button ID="btnUpdateCategory" runat="server" Text="Update category" OnClick="btnUpdateCategory_Click" />
                <asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="btnReset_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
